package com.sjsu.aws.primitve.client.configurationupdater;

/**
 * 
 * @author Pawar Deepali
 * 
 */
public class ClientConfigurationManagement {
	
	public static void main(String[] args) throws Exception {
		String configName = "cfgd12";
		//
		long pollingPeriod = 10000;
		
		ConfigurationUpdater configurationUpdater = new ConfigurationUpdater();
		configurationUpdater.startPolling(pollingPeriod, configName);
		
		ConfigurationWatcher configurationWatcher1 = new ConfigurationWatcher();
		configurationWatcher1.startPolling(pollingPeriod, configName);
		
		ConfigurationWatcher configurationWatcher2 = new ConfigurationWatcher();
		configurationWatcher2.startPolling(pollingPeriod, configName);
	}
}
